package com.guangyunl.a_method;
// 方法的调用
public class Demo02Method {
    public static void main(String[] args) {
        farmer();
        cook();
        client();
    }


    public static void farmer(){
        System.out.println("农民");
        System.out.print("播种" + "->");
        System.out.print("施肥" + "->");
        System.out.print("拔草" + "->");
        System.out.print("浇水" + "->");
        System.out.print("除虫" + "->");
        System.out.println("收割");
    }

    public static void cook(){
        System.out.println("厨师");
        System.out.print("洗菜" + "->");
        System.out.print("切菜" + "->");
        System.out.print("炒菜" + "->");
        System.out.println("装盘");
    }
    public static void client(){
        System.out.println("顾客");

        System.out.print("洗手" + "->");
        System.out.println("吃菜");
    }
}
/*
农民
播种->施肥->拔草->浇水->除虫->收割
厨师
洗菜->切菜->炒菜->装盘
顾客
洗手->吃菜
 */